import Layout from '@/layout'

export default {
    path: '/yuangong',
    component:Layout,
    children: [
        {
            path: '',
            component: () => import('@/views/yuangong'),
            meta: {
                title: '员工',
                icon:'tree'
            },
        },
        {
            //不加/就是相对路径,相对于上面的路径
            path: 'detail',
            component: () => import('@/views/yuangong/detail.vue'),
            hidden:true,
            meta: {
                title: '员工详情'
            }
        },
        {
            path: 'print',
            component: () => import('@/views/yuangong/print.vue'),
            hidden: true,
            meta: {
            title: '打印',
      }
        }
    ]
    
}